/**
 * 
 */
package org.enea.xlab.lezione3.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @author X-Lab
 */

@Entity
public class TransmissionType implements Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	private Long transmissionTypeId;
	private String transmissionTypeDescription;
	
	/**
	 * Costruttore.
	 * @param transmissionTypeId
	 * @param transmissionTypeDescription
	 */
	public TransmissionType(Long transmissionTypeId,
			String transmissionTypeDescription) {
		super();
		this.transmissionTypeId = transmissionTypeId;
		this.transmissionTypeDescription = transmissionTypeDescription;
	}
	
	public TransmissionType() {
	}
	
	public Long getTransmissionTypeId() {
		return transmissionTypeId;
	}
	/**
	 * @param transmissionTypeId the transmissionTypeId to set
	 */
	public void setTransmissionTypeId(Long transmissionTypeId) {
		this.transmissionTypeId = transmissionTypeId;
	}
	/**
	 * @return the transmissionTypeDescription
	 */
	public String getTransmissionTypeDescription() {
		return transmissionTypeDescription;
	}
	/**
	 * @param transmissionTypeDescription the transmissionTypeDescription to set
	 */
	public void setTransmissionTypeDescription(String transmissionTypeDescription) {
		this.transmissionTypeDescription = transmissionTypeDescription;
	}

}
